package cn.sicnu.cs.employment.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import javax.validation.constraints.NotNull;

@With
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@TableName("t_bg_comment")
public class BackgroundComment {

    @TableId(type = IdType.AUTO)
    private Long id;

    @NotNull(message = "员工id不能为null")
    private Long empId;

    private Long comId;

    private Long judgeId;

    private String jobContent;

    private Double jobResult;

    private Integer jobScore;

    private String time;

    private String self;
}